home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global descriptions, selectedgame, mylevel, lastclicked
- if lastclicked = 0 then
- set lastclicked to 1
- end if
- sound stop 1
- sound stop 2
- puppetSound(0)
- puppetSound("click2")
- updateStage()
- if the soundBusy of 1 then
- repeat while the soundBusy of 1
- updateStage()
- end repeat
- end if
- puppetSound(0)
- set stemp to the name of cast the castNum of sprite 14
- set descriptions to 1 - value(char 5 of stemp)
- set the castNum of sprite 14 to the number of cast ("secr" & descriptions)
- if descriptions = 0 then
- puppetSprite(26, 0)
- set selectedgame to lastclicked
- if value(selectedgame) <> 0 then
- grablevel()
- else
- newcomer()
- end if
- else
- set lastclicked to selectedgame
- end if
- end
-